#ifndef MAINWIDGET_H
#define MAINWIDGET_H

#include <QWidget>
#include <QPushButton>
#include <QGridLayout>
#include <QVector>

class MainWidget : public QWidget
{
    Q_OBJECT

    QVector<QPushButton*> buttons;
    int row;
    int col;

public:
    enum Reverse{OUT_REVERSE, ALL_REVERSE};

    explicit MainWidget(QWidget *parent = nullptr);
    QString exportText(int row, int col);
    void setReverse(Reverse reverse);

signals:

public slots:
    void slotSetRowCol(int row, int col);
};

#endif // MAINWIDGET_H
